// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs'
import prettier from 'eslint-plugin-prettier'
import prettierConfig from 'eslint-config-prettier'

export default withNuxt(
  {
    plugins: {
      prettier,
    },
    rules: {
      // 可以在这里覆盖或添加自定义规则
      'prettier/prettier': 'warn',
    },
  },
  prettierConfig
)
